<?php
/**
 * author      :chenwenwen
 * createTime  :2020-04-05 23:02
 * description :
 */
namespace app\demo\middleware;
class Detail {
    public function handle($request, \Closure $next) {
        $request->type = 'detail';
        return $next($request);
    }

    public function end(\think\Response $response) {

    }
}